package com.liujit.common.domain.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @description: 系统用户
 * @author: liujun
 * @create: 2021/3/24 3:13 下午
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "UserInfo", description = "系统用户")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "性别：0、未知。1、男。2、女。")
    private Short gender;

    @ApiModelProperty(value = "头像")
    private String avatar;
}
